package common.utils;

/**
 * 描述:
 *
 * @author 002465
 * @created 2017/5/15 20:55
 * @return ${return_type}
 * @since v1.0.0
 * ${tags}
 */
public class HttpParamsAppend {
    private static String SALT = "getrip";
    public static String getTourHeatmapUrl(String token,String areaid,String apiName,String time,String frequency){
        StringBuffer sb= new StringBuffer(128);
        sb.append(token).append(areaid).append(apiName).append(time).append(frequency).append(SALT);
        System.out.println(sb.toString());
        System.out.println("md5:"+MD5.getMD5(sb.toString()));
        return MD5.string2MD5(sb.toString()).substring(0, 6);
    }
}
